//
//  User.h
//  百车易车险
//
//  Created bychenxu on 14-7-30.
//  Copyright (c) 2014年 chenxu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject<NSCoding,NSCopying>
@property (readwrite, nonatomic, strong) NSString *Uid,*Username,*Email,*Address,*Flag,*Nickname,*Phone,*Phoneflag,*Question,*Answer;

@property (readwrite, nonatomic, strong) NSString *Password, *resetPassword, *resetPasswordConfirm, *introduction, *registPass;

@property (readwrite, nonatomic, strong) NSString *Bid,*Shouhuoren,*Shouyiid,*Shouyiname;
@property (readwrite, nonatomic, strong) NSString *User_id,*Channel_id,*App_id;
@property (readwrite, nonatomic, strong) NSString *Chezhuid,*Chezhuname;



- (NSDictionary *)toResetPasswordParams;

- (NSDictionary *)toUpdateInfoParams;

- (NSString *)changePasswordTips;
- (NSString *)registUserTips;

- (NSDictionary *)tousernameParams;
- (NSDictionary *)toUsernameParams;

- (NSDictionary *)toRegistParams;

- (NSDictionary *)toSaveUserParams;

- (bool)isSameUser:(User*)user;

- (NSString*)getIconUrl;
@end
